<table class="tblGT tblGT1">
<tbody>
    <tr>
        <td colspan="4" class="last lqs">Lịch quay xổ số mở thưởng và mã tỉnh dùng cho nhắn tin</td>
    </tr>
    <tr>
        <th class="bg-yelowlight">Lịch mở thưởng</th>
        <td class="bg-gray2 width125"><strong>Miền Bắc - MB</strong></td>
        <td class="bg-gray2 width125"><strong>Miền Trung</strong></td>
        <td class="bg-gray2 width125 last"><strong>Miền Nam</strong></td>
    </tr>
    <?php foreach($data as $i => $item) : ?>
    <?php $th = $i % 2 ? 'bg-yelowlight' : 'bg-yelow' ?>
    <?php $td = $i % 2 ? 'bg-gray2' : 'bg-gray1' ?>
    <tr>
        <th class="<?php echo $th ?>"><?php echo $item->date ?></th>
        <td class="<?php echo $td ?>"><?php echo $item->mb ?></td>
        <td class="<?php echo $td ?>"><?php echo $item->mt ?></td>
        <td class="<?php echo $td ?> last"><?php echo $item->mn ?></td>
    </tr>
    <?php endforeach ?>
</tbody>
</table>